package com.demo.inner;

import cn.hutool.json.JSONUtil;
import me.chanjar.weixin.cp.api.WxCpExternalContactService;

import java.util.List;

/**
 * created by lanxinghua@2dfire.com on 2020/2/13
 * 企业内部应用：外部联系人管理
 * https://work.weixin.qq.com/api/doc/90000/90135/92109
 */
public class InnerExternalContactUserDemo extends InnerBaseService{
    static WxCpExternalContactService externalContactService = wxCpService.getExternalContactService();


    public static void main(String[] args) throws Exception{
        List<String> list = externalContactService.listFollowUser();
        System.out.println(JSONUtil.toJsonStr(list));

    }
}
